package com.onland.dfish.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.type.Alias;
/**
 * 关注实体类
 */
@Data
@Alias("attention")
@TableName("t_attention")
public class Attention {
    /**
     * 关注id
     */
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Integer id;
    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Integer userId;
    /**
     * 被关注用户id
     */
    @TableField(value = "fans_id")
    private Integer fansId;
}
